package com.six.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.six.bean.Tadmin;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.web.bind.annotation.PathVariable;

@Mapper
public interface TadminMapper extends BaseMapper<Tadmin> {
    @Select("select * from tadmin where phone=#{phone}")
    Tadmin selectByNameTadmin(@Param("phone") String phone);

}
